{{ define "title" }}
	{{ .Title }} :: {{ .Site.Title }}
{{ end }}

{{ define "main" }}
	{{if .Site.Home.Content }} 
		{{ partial "body-article-content.html" . }}
	{{else}}
  	  {{with index .Site.Sections 0}}
	    <meta http-equiv = "refresh" content = "0; url = {{.Permalink}}"/>
	  {{else}}
	  	 no file found in content folder :(
	  {{end}}
	{{ end }}
{{ end }}

{{ define "sidepage" }}
	{{if .Site.Home.Content }} 
		{{ partial "body-article-sidepage.html" . }}
	{{ end }}
{{ end }}
